Apparatus and method for arranging a keypad in wireless terminal

ABSTRACT

An apparatus and method for arranging a keypad in a wireless terminal, and more particularly, to an apparatus and method for arranging a keypad in a wireless terminal to conveniently perform a key input in the wireless terminal, the apparatus including: a display unit for displaying the keypad in at least one of a right and left side on a screen of the display unit in a horizontal mode of the wireless terminal; and a controller for controlling the display unit to display the keypad in the right and/or left side on the screen of the display unit in the horizontal mode of the wireless terminal.

CROSS-REFERENCE TO RELATED APPLICATION(S)

This application is a continuation application of prior application Ser.No. 16/503,071, filed on Jul. 3, 2019, which issued as U.S. Pat. No.10,649,543 on May 12, 2020; which is a continuation application of priorapplication Ser. No. 16/281,256, filed on Feb. 21, 2019, which issued asU.S. Pat. No. 10,379,624 on Aug. 13, 2019; which is a continuation ofprior application Ser. No. 16/152,854, filed on Oct. 5, 2018, which wasabandoned; which is a continuation application of prior application Ser.No. 13/669,582, filed on Nov. 6, 2012, which issued as U.S. Pat. No.10,146,325 on Dec. 4, 2018; and which was based on and claimed priorityunder 35 U.S.C. § 119(a) to a Korean Patent Application filed in theKorean Intellectual Property Office on Nov. 25, 2011 and assigned SerialNo. 10-2011-0123964, the entire contents of each of which areincorporated herein by reference.

BACKGROUND Field

The present invention relates generally to an apparatus and method forarranging a keypad in a wireless terminal, and more particularly, to anapparatus and method for arranging a keypad in a wireless terminal toconveniently perform a key input in the wireless terminal.

Description of the Related Art

When an input mode is performed in a vertical mode (in which a wirelessterminal is placed in a vertical direction), a keypad is displayed onthe bottom of a screen of a display unit, and a key input in the inputmode is performed on the displayed keypad.

Even when the input mode is performed in a horizontal mode (in which thewireless terminal is placed in a horizontal direction), a keypad isdisplayed on the bottom of the screen of the display unit, and a keyinput in the input mode is performed on the displayed keypad.

In the vertical mode of the wireless terminal, because the wirelessterminal is placed in the vertical direction, a significant amount ofscreen area is available above the displayed keypad in order to displayinput contents together with the displayed keypad.

However, in the horizontal mode of the wireless terminal, because thewireless terminal is placed in the horizontal direction, the keypad inthe horizontal mode occupies a relatively larger portion of the screenthan when the keypad is in the vertical mode. Therefore, all of inputcontents may not be displayed on the screen. Additionally, it isinconvenient to use keys arranged in the center of the keypad in thehorizontal mode.

SUMMARY

The present invention provides an apparatus and method for arranging akeypad in a wireless terminal so as to allow a user to convenientlyperform a key input in the wireless terminal.

In accordance with one aspect of the present invention, an apparatus andmethod is provided for arranging a keypad in a wireless terminal toconveniently perform a key input while the wireless terminal is in ahorizontal mode of operation.

In accordance with another aspect of the present invention, an apparatusand method is provided for arranging a keypad in a wireless terminal soas to allow display of all of input contents on a screen of a displayunit in a horizontal mode of the wireless terminal.

According to one aspect of the present invention, there is provided anapparatus for arranging a keypad in a wireless terminal, including: adisplay unit for displaying the keypad in at least one of a right andleft side on a screen of the display unit in a horizontal mode of thewireless terminal; and a controller for controlling the display unit todisplay the keypad in at least one of the right and left side on thescreen of the display unit in the horizontal mode of the wirelessterminal.

According to another aspect of the present invention, there is provideda method of arranging a keypad in a wireless terminal, including:switching to a horizontal mode of the wireless terminal; and displayingthe keypad in at least one of a right and left side on a screen of adisplay unit in the horizontal mode of the wireless terminal.

When, in accordance with the invention, the keypad of the wirelessterminal in the horizontal mode is displayed in at least one of theright and left side on the screen, a user may conveniently perform a keyinput, while at the same time a vertical area of the screen that isadjacent to the displayed keypad has no keypad display thereon. Thus,the full vertical area of the adjacent portion of the screen isavailable to display input contents thereon.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and other features and advantages of the present inventionwill become more apparent from the following detailed description whentaken in conjunction with the accompanying drawing in which:

FIG. 1 is a block diagram illustrating a wireless terminal according toan embodiment of the present invention;

FIG. 2 is a flowchart illustrating a process of arranging a keypad inthe wireless terminal, according to an embodiment of the presentinvention; and

FIGS. 3A, 3B, 3C, and 3D illustrate keypads of the wireless terminal,according to an embodiment of the present invention.

DETAILED DESCRIPTION

Preferred embodiments of the present invention will be described hereinbelow with reference to the accompanying drawings. Like referencenumbers are used to refer to like elements throughout the specificationand the drawings. Detailed descriptions of functions and structuresincorporated herein that are well known by those of ordinary skill inthe art may be omitted for clarity and simplicity so as to not obscureappreciation of the present invention.

Referring to FIG. 1, a Radio Frequency (RF) unit 123 performs a wirelesscommunication function of the wireless terminal. The RF unit 123includes an RF transmitter for up-converting a frequency of atransmission signal and amplifying the up-converted transmission signaland an RF receiver for low-noise amplifying a received signal anddown-converting a frequency of the amplified received signal. A dataprocessor 120 includes a transmitter for coding and modulating thetransmission signal and a receiver for demodulating and decoding thereceived signal. In other words, the data processor 120 may include amodem and a codec. The codec includes a data codec for processing packetdata and the like, and an audio codec for processing an audio signalsuch as voice. An audio processor 125 plays a received audio signaloutput from the audio codec in the data processor 120 and transfers atransmission audio signal picked up by a microphone to the audio codecin the data processor 120.

A memory 130 may include a program memory and a data memory. The programmemory may store programs for controlling a general operation of thewireless terminal. In addition, the program memory may store programsfor controlling a display unit 160 to display a keypad in a right and/orleft side on a screen in a horizontal mode of the wireless terminal. Thedata memory may temporarily store data generated while the programs areexecuted. In addition, when the horizontal mode of operation of thewireless terminal ends, according to an embodiment of the presentinvention (that is, when the display unit 160 is oriented in thehorizontal direction), the memory 130 may store the keypad in the rightand/or left side on the screen in the horizontal mode.

A controller 110 controls the overall operation of the wirelessterminal.

According to an embodiment of the present invention, during thehorizontal mode of the wireless terminal, the controller 110 controlsthe display unit 160 to display a keypad in the right and/or left sideon the screen of the display unit 160.

In addition, when it is determined that the wireless terminal switchesto an input mode in the horizontal mode, the controller 110 may controlthe display unit 160 to display a keypad in the right and/or left sideon the screen of the display unit 160.

In addition, when the wireless terminal switches to the horizontal mode,the controller 110 may control the display unit 160 to display a keypadarranged in the right and/or left side on the screen of the display unit160 in accordance with a previous horizontal mode.

When, as noted above, the wireless terminal is in the horizontal mode(that is, the screen is oriented in the horizontal direction) and thekeypad is displayed in a right and/or left side on the screen, a usermay conveniently perform a key input, while at the same time a verticalarea of the screen that is adjacent to the displayed keypad has nokeypad display thereon. Thus, the full vertical area of the adjacentportion of the screen is available to display input contents thereon.

In addition, in accordance with another aspect of the invention, a useris able to control details of how a keypad is arranged in the rightand/or left side on the screen of the display unit 160, as describedbelow.

More specifically, the controller 110 may control the display unit 160to display a keypad divided and arranged on a row basis in the rightand/or left side on the screen of the display unit 160 by movingrow-based keys in accordance with a dragged direction through ahold-and-drag operation performed by a user of the wireless terminal.

In addition, when the hold-and-drag operation occurs for predeterminedrow-based keys of a keypad arranged in the left side on the screen ofthe display unit 160 in the horizontal mode of the wireless terminal,the controller 110 may control the display unit 160 to display thepredetermined held row-based keys in the right side on the screen of thedisplay unit 160 by moving the predetermined held row-based keys to theright (the dragged direction). In this case, the controller 110 maycontrol the display unit 160 to display the predetermined held row-basedkeys in the right side on the screen of the display unit 160 when thedrag operation in the right direction passes over the center line on thescreen.

In addition, when the hold-and-drag operation occurs for predeterminedrow-based keys of a keypad arranged in the left side on the screen ofthe display unit 160 in the horizontal mode of the wireless terminal,the controller 110 may control the display unit 160 to display thepredetermined held row-based keys at a changed position of the keypadarranged in the left side on the screen of the display unit 160 bymoving the predetermined held row-based keys to the left (the draggeddirection).

In addition, when the hold-and-drag operation occurs for predeterminedrow-based keys of a keypad arranged in the right side on the screen ofthe display unit 160 in the horizontal mode of the wireless terminal,the controller 110 may control the display unit 160 to display thepredetermined held row-based keys in the left side on the screen of thedisplay unit 160 by moving the predetermined held row-based keys to theleft (the dragged direction). In this case, the controller 110 maycontrol the display unit 160 to display the predetermined held row-basedkeys in the left side on the screen of the display unit 160 when thedrag operation in the left direction passes over the center line on thescreen.

In addition, when the hold-and-drag operation occurs for predeterminedrow-based keys of a keypad arranged in the right side on the screen ofthe display unit 160 in the horizontal mode of the wireless terminal,the controller 110 may control the display unit 160 to display thepredetermined held row-based keys at a changed position of the keypadarranged in the right side on the screen of the display unit 160 bymoving the predetermined held row-based keys to the right (the draggeddirection).

A camera unit 140 includes a camera sensor for optically capturing imagedata and converting the optically captured image data into an electricalimage signal, and a signal processor for converting the electrical imagesignal into digital data. The camera sensor is assumed herein to be aCharge-Coupled Device (CCD) or Complementary Metal Oxide Semiconductor(CMOS) sensor, and the signal processor may be realized by a DigitalSignal Processor (DSP). The camera sensor and the signal processor maybe realized in an integrated manner or in a separated manner.

An image processor 150 performs Image Signal Processing (ISP) fordisplaying image signals output from the camera unit 140 on the displayunit 160, and the ISP performs functions such as gamma correction,interpolation, spatial variation, image effects, image scaling,Automatic White Balance (AWB), Automatic Exposure (AE), and AutomaticFocusing (AF). The image processor 150 processes the image signalsoutput from the camera unit 140 on a frame basis, and outputs theframe-based image data according to the characteristics and size of thedisplay unit 160. The image processor 150, which includes a video codec,compresses frame image data displayed on the display unit 160 by presetcoding, and restores (or decompresses) the compressed frame image datainto its original frame image data. The video codec may include a JPEGcodec, MPEG4 codec, Wavelet codec, etc. Assuming that the imageprocessor 150 includes an On-Screen Display (OSD) function, thecontroller 110 may control the image processor 150 to output OSD dataaccording to the size of a screen on which the data is displayed.

The display unit 160 displays an image output from the image processor150 and user data output from the controller 110 on a screen. Thedisplay unit 160 may function as an input unit by being realized as atouch screen. In this case, the display unit 160 functioning as theinput unit may display a keypad including the alphanumeric keys forinputting alphanumeric information and function keys for setting variousfunctions.

In addition, according to an embodiment of the present invention, thedisplay unit 160 may display a keypad in the right and/or left side on ascreen in the horizontal mode of the wireless terminal, and the keypadmay be divided on a row basis. In this case, keys arranged in row-basedkeypads of the keypad may be displayed the same as keys arranged inrow-based keypads of a keypad displayed in a vertical mode of thewireless terminal.

FIG. 2 is a flowchart illustrating a process of arranging a keypad in awireless terminal, according to an embodiment of the present invention,and FIGS. 3A, 3B, 3C, and 3D illustrate keypads of the wireless terminalaccording to an embodiment of the present invention.

Referring to FIG. 2 (and with reference to FIG. 1 for details of theapparatus), in step 201, i.e., in the horizontal mode, in which thewireless terminal is placed in the horizontal direction, if the wirelessterminal switches to the input mode for performing an input operation,the controller 110 detects this in step 202 and proceeds to step 203 todisplay a keypad in the left and/or right side on the screen of thedisplay unit 160.

Alternatively, when it is determined in the input mode of the wirelessterminal that the wireless terminal has been switched to the horizontalmode, the controller 110 may control the display unit 160 to display akeypad in the left and/or right side on the screen of the display unit160 in step 203.

Alternatively, in step 203, the controller 110 may control the displayunit 160 to display a keypad set as default or a keypad arranged in theleft and/or right side on the screen of the display unit 160 inaccordance with a previous horizontal mode.

Thus, when the wireless terminal switches to the horizontal mode, thecontroller 110 may control the display unit 160 to display a keypad ineach of the left and right sides on the screen of the display unit 160,in only the left side on the screen of the display unit 160, or in onlythe right side on the screen of the display unit 160.

The keypad displayed in the left and/or right side on the screen of thedisplay unit 160 may be divided on a row basis, and keys arranged inrow-based keypads of the keypad may be displayed the same as keysarranged in row-based keypads of a keypad displayed in the vertical modeof the wireless terminal.

While the keypad is displayed in the left and/or right side on thescreen of the display unit 160 in step 203, if a hold-and-drag operationoccurs in the right direction for a predetermined one of row-basedkeypads arranged in the left side on the screen, the controller 110detects this in step 204 and proceeds to step 205 to rearrange thekeypad by moving the predetermined held row-based keypad to row-basedkeypads arranged in the right side on the screen of the display unit160.

In this case, if the drag operation ends after the predetermined heldrow-based keypad passes over the center of the screen, the controller110 controls the display unit 160 to rearrange the keypad by moving thepredetermined held row-based keypad to the leftmost position of therow-based keypads arranged in the right side on the screen of thedisplay unit 160.

If the drag operation ends when the predetermined held row-based keypadis placed at a predetermined one of the row-based keypads arranged inthe right side on the screen, the controller 110 controls the displayunit 160 to rearrange the keypad by moving the predetermined heldrow-based keypad to a position prior or next to the predetermined one ofthe row-based keypads arranged in the right side on the screen at whichthe drag operation ended.

Otherwise, while the keypad is displayed in the left and/or right sideon the screen of the display unit 160 in step 203, if a hold-and-dragoperation occurs in the left direction for a predetermined one of therow-based keypads arranged in the left side on the screen, thecontroller 110 detects this and controls the display unit 160 torearrange the keypad by moving the predetermined held row-based keypadto the left so that a position of the predetermined held row-basedkeypad is changed in the row-based keypads arranged in the left side onthe screen of the display unit 160.

In this case, if the drag operation ends when the predetermined heldrow-based keypad is placed at a predetermined one of the row-basedkeypads arranged in the left side on the screen, the controller 110controls the display unit 160 to rearrange the keypad by moving thepredetermined held row-based keypad to a position prior or next to thepredetermined one of the row-based keypads arranged in the left side onthe screen at which the drag operation ended.

Otherwise, while the keypad is displayed in the left and/or right sideon the screen of the display unit 160 in step 203, if a hold-and-dragoperation occurs in the left direction for a predetermined one of therow-based keypads arranged in the right side on the screen, thecontroller 110 detects this in step 206 and proceeds to step 207 torearrange the keypad by moving the predetermined held row-based keypadto the row-based keypads arranged in the left side on the screen of thedisplay unit 160.

In this case, if the drag operation ends after the predetermined heldrow-based keypad passes over the center of the screen, the controller110 controls the display unit 160 to rearrange the keypad by moving thepredetermined held row-based keypad to the rightmost position of therow-based keypads arranged in the left side on the screen of the displayunit 160.

If the drag operation ends when the predetermined held row-based keypadis placed at a predetermined one of the row-based keypads arranged inthe left side on the screen, the controller 110 controls the displayunit 160 to rearrange the keypad by moving the predetermined heldrow-based keypad to a position prior or next to the predetermined one ofthe row-based keypads arranged in the left side on the screen at whichthe drag operation ends.

Otherwise, while the keypad is displayed in the left and/or right sideon the screen of the display unit 160 in step 203, if a hold-and-dragoperation occurs in the right direction for a predetermined one of therow-based keypads arranged in the right side on the screen, thecontroller 110 detects this and controls the display unit 160 torearrange the keypad by moving the predetermined held row-based keypadto the right so that a position of the predetermined held row-basedkeypad is changed in the row-based keypads arranged in the right side onthe screen of the display unit 160.

In this case, if the drag operation ends when the predetermined heldrow-based keypad is placed at a predetermined one of the row-basedkeypads arranged in the right side on the screen, the controller 110controls the display unit 160 to rearrange the keypad by moving thepredetermined held row-based keypad to a position prior or next to thepredetermined one of the row-based keypads arranged in the right side onthe screen at which the drag operation ends

FIG. 3A illustrates row-based keypads A and B arranged in the left sideon the screen of the display unit 160 and row-based keypads C and Darranged in the right side on the screen in the horizontal mode of thewireless terminal.

In FIG. 3A, when a hold-and-drag operation occurs in the left directionfor a predetermined one (C) of the row-based keypads C and D arranged inthe right side on the screen, if the drag operation in the leftdirection ends right after the predetermined held row-based keypad Cpasses over the center line a of the screen, the predetermined held one(C) of the row-based keypads C and D arranged in the right side on thescreen is moved and rearranged to the rightmost position of therow-based keypads A and B arranged in the left side on the screen asshown in FIG. 3B.

In FIG. 3B, when a hold-and-drag operation occurs in the right directionfor a predetermined one (C) of the row-based keypads A, B, and Carranged in the left side on the screen, if the drag operation in theright direction ends right after the predetermined held row-based keypadC passes over the center line a of the screen, and thereafter, whenanother hold-and-drag operation occurs in the right direction for apredetermined one (B) of the row-based keypads A and B arranged in theleft side on the screen, if the drag operation in the right directionends right after the predetermined held row-based keypad B passes overthe center line a of the screen, the predetermined held ones (C and B)of the row-based keypads A, B, and C arranged in the left side on thescreen are moved and rearranged in the moved order to the leftmostposition of the row-based keypad D arranged in the right side on thescreen as shown in FIG. 3C.

In FIG. 3C, when a hold-and-drag operation occurs in the right directionfor a predetermined one (B) of the row-based keypads B, C, and Darranged in the right side on the screen, if the drag operation endswhen the predetermined held row-based keypad B is placed at apredetermined one (C) of the row-based keypads B, C, and D arranged inthe right side on the screen, the predetermined held one (B) of therow-based keypads B, C, and D arranged in the right side on the screenis moved and rearranged to a position next to the predetermined one (C)at which the drag operation ends as shown in FIG. 3D.

As described above, when an input operation is performed by using akeypad arranged in the left and/or right side on a screen of a displayunit in the horizontal mode of a wireless terminal, all of inputcontents may be perceived on the screen as in the vertical mode of thewireless terminal.

In addition, although only movement of row-based keypads of a keypad hasbeen described in the embodiments of the present invention, movement ofcolumn-based keypads of the keypad may also be likely performed througha hold-and-drag operation.

In addition, although only row-based movement of a keypad has beendescribed in the embodiments of the present invention, acharacter/number assigned to each key of the keypad may also be movedand rearranged to a desired key position of the keypad through ahold-and-drag operation.

As is apparent from the foregoing description, the proposed apparatusand method for arranging a keypad in a wireless terminal, in which akeypad is displayed in a right and/or left side on a screen of a displayunit in the horizontal mode of the wireless terminal, allows a user toconveniently perform a key input in the horizontal mode of the wirelessterminal, while at the same time leaving a vertical area of the screenthat is adjacent to the displayed keypad, which vertical area has nokeypad display thereon, so that the full vertical area of the screen isavailable to display input contents thereon.

While the invention has been shown and described with reference tocertain exemplary embodiments, such as a wireless terminal, thereof, itwill be understood by those skilled in the art that various changes inform and details may be made therein without departing from the spiritand scope of the invention as defined by the appended claims and theirequivalents.

What is claimed is:
 1. An electronic device comprising: a touch screendisplay; a memory; and a processor operatively coupled to the touchscreen display and the memory, the processor being configured to:control the touch screen display to display a plurality of keys of akeypad in a contiguous configuration state of a horizontal input mode inwhich the plurality of keys of the keypad are displayed on the touchscreen display contiguously while the electronic device is in thehorizontal input mode, based on receiving a user input while the keypadis displayed in the contiguous configuration state of the horizontalinput mode and the electronic device is in the horizontal input mode,control the touch screen display to change the display of the pluralityof keys of the keypad from the contiguous configuration state of thehorizontal input mode to a split configuration state of the horizontalinput mode in which the plurality of keys of the keypad are displayed onthe touch screen display as two groups of keys including a left sidegroup of keys and a right side group of keys with no keys of theplurality of keys of the keypad displayed in an area between the leftside group of keys and the right side group of keys, and storeinformation in the memory that a most recent configuration state of thehorizontal input mode is the split configuration state of the horizontalinput mode, based on the electronic device being changed from thehorizontal input mode with the keypad in the split configuration stateof the horizontal input mode to a vertical input mode, control the touchscreen display to change the display of the plurality of keys of thekeypad from the split configuration state of the horizontal input modeto a contiguous configuration state of the vertical input mode, andbased solely on the electronic device being changed from the verticalinput mode with the keypad in the contiguous configuration state of thevertical input mode to the horizontal input mode, control the touchscreen display to change the display of the plurality of keys of thekeypad from the contiguous configuration state of the vertical inputmode to the split configuration state of the horizontal input mode inaccordance with the stored information that the most recentconfiguration state of the horizontal input mode is the splitconfiguration state of the horizontal input mode.
 2. The electronicdevice of claim 1, wherein the user input is received via the touchscreen display with respect to a keypad of the horizontal input mode. 3.The electronic device of claim 1, wherein the electronic device ischanged from the vertical input mode to the horizontal input mode basedon the electronic device changing from a vertical orientation to ahorizontal orientation, and wherein the electronic device is changedfrom the horizontal input mode to the vertical input mode based on theelectronic device changing from the horizontal orientation to thevertical orientation.
 4. The electronic device of claim 1, wherein, forthe plurality of keys of the keypad in the split configuration state ofthe horizontal input mode, a key of the left side group of keys and akey of the right side group of keys that are closest are separated by afirst distance on the touch screen display, and any two adjacent keys ofeither the left side group of keys or the right side group of keys areseparated by a second distance on the touch screen display that is lessthan the first distance.
 5. The electronic device of claim 4, whereinthe plurality of keys of the keypad in the contiguous configurationstate of the horizontal input mode are displayed as one group of keyssuch that a distance on the touch screen display between any twoadjacent keys of the one group of keys is less than the first distance.6. A method for electronic device including a touch screen display, amemory, and a processor operatively coupled to the touch screen displayand the memory, the method comprising: controlling, by the processor,the touch screen display to display a plurality of keys of a keypad in acontiguous configuration state of a horizontal input mode in which theplurality of keys of the keypad are displayed on the touch screendisplay contiguously while the electronic device is in the horizontalinput mode; based on receiving a user input while the keypad isdisplayed in the contiguous configuration state of the horizontal inputmode and the electronic device is in the horizontal input mode,controlling, by the processor, the touch screen display to change thedisplay of the plurality of keys of the keypad from the contiguousconfiguration state of the horizontal input mode to a splitconfiguration state of the horizontal input mode in which the pluralityof keys of the keypad are displayed on the touch screen display as twogroups of keys including a left side group of keys and a right sidegroup of keys with no keys of the plurality of keys of the keypaddisplayed in an area between the left side group of keys and the rightside group of keys, and storing, by the processor, information in thememory that a most recent configuration state of the horizontal inputmode is the split configuration state of the horizontal input mode;based on the electronic device being changed from the horizontal inputmode with the keypad in the split configuration state of the horizontalinput mode to a vertical input mode, controlling, by the processor, thetouch screen display to change the display of the plurality of keys ofthe keypad from the split configuration state of the horizontal inputmode to a contiguous configuration state of the vertical input mode; andbased solely on the electronic device being changed from the verticalinput mode with the keypad in the contiguous configuration state of thevertical input mode to the horizontal input mode, controlling, by theprocessor, the touch screen display to change the display of theplurality of keys of the keypad from the contiguous configuration stateof the vertical input mode to the split configuration state of thehorizontal input mode in accordance with the stored information that themost recent configuration state of the horizontal input mode is thesplit configuration state of the horizontal input mode.
 7. The method ofclaim 6, wherein the user input is received via the touch screen displaywith respect to a keypad of the horizontal input mode.
 8. The method ofclaim 6, wherein the electronic device is changed from the verticalinput mode to the horizontal input mode based on the electronic devicechanging from a vertical orientation to a horizontal orientation, andwherein the electronic device is changed from the horizontal input modeto the vertical input mode based on the electronic device changing fromthe horizontal orientation to the vertical orientation.
 9. The method ofclaim 6, wherein, for the plurality of keys of the keypad in the splitconfiguration state of the horizontal input mode, a key of the left sidegroup of keys and a key of the right side group of keys that are closestare separated by a first distance on the touch screen display, and anytwo adjacent keys of either the left side group of keys or the rightside group of keys are separated by a second distance on the touchscreen display that is less than the first distance.
 10. The method ofclaim 9, wherein the plurality of keys of the keypad in the contiguousconfiguration state of the horizontal input mode are displayed as onegroup of keys such that a distance on the touch screen display betweenany two adjacent keys of the one group of keys is less than the firstdistance.
 11. An electronic device comprising: a touch screen display; amemory; and a processor operatively coupled to the touch screen displayand the memory, the processor being configured to: control the touchscreen display to display a first keypad in which a plurality of keysare displayed on the touch screen display contiguously while the touchscreen display displays in a landscape orientation, based on receiving auser input while the first keypad is displayed and the touch screendisplay displays in the landscape orientation, control the touch screendisplay to change from the display of the first keypad to display of asecond keypad in which the plurality of keys are displayed on the touchscreen display as two groups of keys including a left side group of keysand a right side group of keys with no keys of the plurality of keysdisplayed in an area between the left side group of keys and the rightside group of keys, and store information in the memory that a mostrecent keypad for the touch screen display displaying in the landscapeorientation is the second keypad, based on the touch screen displaybeing changed from displaying in the landscape orientation with thesecond keypad being displayed to displaying in a portrait orientation,control the touch screen display to change from the display of thesecond keypad to display of a third keypad in which the plurality ofkeys are displayed on the touch screen display contiguously while thetouch screen display displays in the portrait orientation, and basedsolely on the touch screen display being changed from displaying in theportrait orientation with the third keypad being displayed to displayingin the landscape orientation, control the touch screen display to changefrom the display of the third keypad to the display of the second keypadin accordance with the stored information that the most recent keypadfor the touch display screen displaying in the landscape orientation isthe second keypad.
 12. The electronic device of claim 11, wherein theuser input is received via the touch screen display with respect to akeypad for the touch screen display displaying in the landscapeorientation.
 13. The electronic device of claim 11, wherein the touchscreen display is changed from displaying in the landscape orientationto displaying in the portrait orientation based on the electronic devicechanging from a vertical orientation to a horizontal orientation, andwherein the touch screen display is changed from displaying in theportrait orientation to displaying in the landscape orientation based onthe electronic device changing from the horizontal orientation to thevertical orientation.
 14. The electronic device of claim 11, wherein,for the plurality of keys of the second keypad, a key of the left sidegroup of keys and a key of the right side group of keys that are closestare separated by a first distance on the touch screen display, and anytwo adjacent keys of either the left side group of keys or the rightside group of keys are separated by a second distance on the touchscreen display that is less than the first distance.
 15. The electronicdevice of claim 14, wherein the plurality of keys of the first keypadare displayed as one group of keys such that a distance on the touchscreen display between any two adjacent keys of the one group of keys isless than the first distance.
 16. A method for electronic deviceincluding a touch screen display, a memory, and a processor operativelycoupled to the touch screen display and the memory, the methodcomprising: controlling, by the processor, the touch screen display todisplay a first keypad in which a plurality of keys are displayed on thetouch screen display contiguously while the touch screen displaydisplays in a landscape orientation; based on receiving a user inputwhile the first keypad is displayed and the touch screen displaydisplays in the landscape orientation, controlling, by the processor,the touch screen display to change from the display of the first keypadto display of a second keypad in which the plurality of keys aredisplayed on the touch screen display as two groups of keys including aleft side group of keys and a right side group of keys with no keys ofthe plurality of keys displayed in an area between the left side groupof keys and the right side group of keys, and storing, by the processor,information in the memory that a most recent keypad for the touch screendisplay displaying in the landscape orientation is the second keypad;based on the touch screen display being changed from displaying in thelandscape orientation with the second keypad being displayed todisplaying in a portrait orientation, controlling, by the processor, thetouch screen display to change from the display of the second keypad todisplay of a third keypad in which the plurality of keys are displayedon the touch screen display contiguously while the touch screen displaydisplays in the portrait orientation; and based solely on the touchscreen display being changed from displaying in the portrait orientationwith the third keypad being displayed to displaying in the landscapeorientation, controlling, by the processor, the touch screen display tochange from the display of the third keypad to the display of the secondkeypad in accordance with the stored information that the most recentkeypad for the touch screen display displaying in the landscapeorientation is the second keypad.
 17. The method of claim 16, whereinthe user input is received via the touch screen display with respect tothe keypad for the touch screen display displaying in the landscapeorientation.
 18. The method of claim 16, wherein the touch screendisplay is changed from displaying in the landscape orientation todisplaying in the portrait orientation based on the electronic devicechanging from a vertical orientation to a horizontal orientation, andwherein the touch screen display is changed from displaying in theportrait orientation to displaying in the landscape orientation based onthe electronic device changing from the horizontal orientation to thevertical orientation.
 19. The method of claim 16, wherein, for theplurality of keys of the second keypad, a key of the left side group ofkeys and a key of the right side group of keys that are closest areseparated by a first distance on the touch screen display, and any twoadjacent keys of either the left side group of keys or the right sidegroup of keys are separated by a second distance on the touch screendisplay that is less than the first distance.
 20. The method of claim19, wherein the plurality of keys of the first keypad are displayed asone group of keys such that a distance on the touch screen displaybetween any two adjacent keys of the one group of keys is less than thefirst distance.